import type { EnterpriseParams } from "@/types/common"
import { request } from "@/utils/reuqest"
import type { UploadData } from "element-plus"

// 上传接口
export const uploadAPI = (fd:FormData) => {

    return request<UploadData>('/upload','POST',fd )
}

// 添加企业接口
export const addEnterpriseAPI = (data:EnterpriseParams) => {
    return request('/park/enterprise', 'POST', data)
  }
